Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hack trainrun warnings #5

Closed
wants to merge 200 commits into from
Closed

Hack trainrun warnings #5

wants to merge 200 commits into from

Conversation

louisgreiner
Copy link
Collaborator

Before :

Capture d'écran 2024-12-03 171729

Capture d'écran 2024-12-03 171751

Capture d'écran 2024-12-03 171941

After :

Capture d'écran 2024-12-03 173632

image

chenkins and others added 30 commits June 26, 2024 21:43
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: introduce standalone mode

Co-authored-by: adrian_egli <[email protected]>
Co-authored-by: Simon Ser <[email protected]>

* feat: register as a custom element

Co-authored-by: Louis Greiner <[email protected]>

* fix: easy return

* small fix - the use of ng-container embeded in the sbb-icon-sidebare doesn't work correctly. This fix resolves the issue.

---------

Co-authored-by: Louis Greiner <[email protected]>
Co-authored-by: adrian_egli <[email protected]>
…backward / forward have a freq offset of n x freq with n> odd (1,3,5, .. ) the bug occured, solved
Add inputs and outputs so that a custom element user can interact
with NGE.

A netzgrafikDto input is introduced to get/set the data service's
current DTO. A operation output is introduced to notify about DTO
changes. The changes are described by a new Operation class.

Co-authored-by: Louis Greiner <[email protected]>
SchweizerischeBundesbahnen#171)

* Bug fixed: Preserving Departure and Arrival Locks in Netzgrafik-Editor: Converting Transitions into Merged Sections

* Bug fixed: Preserving Departure and Arrival Locks in Netzgrafik-Editor: Converting Transitions into Merged Sections - test added
Add two new CI tasks: one to build the standalone variant on push,
and another one to publish an NPM package on release.

The latter requires setting up a `NPM_TOKEN` secret in the GitHub
repository settings.

All dependencies are removed before publication because the
published package is completely standalone: all of the dependencies
are bundled in `dist/`.

Add the "repository" field in package.json: it's a requirement for
the npm publish --provenance flag.
…esbahnen#169)

* problem fixed

* visual fix

* refactored and validator fixed

* small ui fix

* does this fix the caching issue?

* fix it now

* fix it now

* undo

* cache issue solved

* Wrong URL was used, replaced with public one

* undo change

* fix

* Use epsilon comparison instead of rounding (SchweizerischeBundesbahnen#175)

* fix

---------

Co-authored-by: u216993 <[email protected]>
Co-authored-by: Simon Ser <[email protected]>
…tent (SchweizerischeBundesbahnen#179)

* initial dark/light mode fix commit

* initial dark/light mode fix commit

* initial dark/light mode fix commit

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed)

* bug fixed (npm run test failed) : SchweizerischeBundesbahnen#179 (comment)

* bug fixed -  SchweizerischeBundesbahnen#179 (comment)

* bug fixed -  SchweizerischeBundesbahnen#179 (comment)

* bug fixed -  SchweizerischeBundesbahnen#179 (comment)

* removed, no longer used

* cleaned

* cleaned

* cleaned

* fine tuning / coloring

* fine tuning / coloring

* fine tuning / coloring

* fine tuning / coloring

* removed console.log(localStoredInfo);
* Update package-lock.json

Prepare Release 2.6.0

* aiAdrian-Prepar-Release-2.6.0
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ect identifier sub (SchweizerischeBundesbahnen#195)

* Subject identifier check replaced with email adressse checker

* Subject identifier check replaced with email adressse checker

* Update CREATE_PROJECT.md

documentation

* Update CREATE_PROJECT.md

* lint issue

* refactored - renamed

* test added

* lint fix

* test added

* test extended

* ok

* ... test fix

* test fixed

* test fixed

* test fixed

* regexp email validator was wrongly implemented - fixed

* message enhanced

* fixed: Same as https://github.com/SchweizerischeBundesbahnen/netzgrafik-editor-backend/pull/16/files#r1698074806: this is too restrictive.

* undo changed - haradous commited !

* undo changed - haradous commited !

* undo changed - haradous commited !
…n#198)

Fix the issue described in:
SchweizerischeBundesbahnen#173 (comment)

Use the vertical-align CSS property instead of manually hardcoding
pixel offsets and margins.
…ter (SchweizerischeBundesbahnen#189)

Bumps [ws](https://github.com/websockets/ws) to 8.17.1 and updates ancestor dependencies [ws](https://github.com/websockets/ws), [@nestjs/platform-ws](https://github.com/nestjs/nest/tree/HEAD/packages/platform-ws), [puppeteer](https://github.com/puppeteer/puppeteer), [engine.io](https://github.com/socketio/engine.io) and [socket.io-adapter](https://github.com/socketio/socket.io-adapter). These dependencies need to be updated together.


Updates `ws` from 8.13.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.13.0...8.17.1)

Updates `@nestjs/platform-ws` from 10.3.7 to 10.3.10
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v10.3.10/packages/platform-ws)

Updates `puppeteer` from 19.11.1 to 22.13.1
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](puppeteer/puppeteer@puppeteer-v19.11.1...puppeteer-v22.13.1)

Updates `engine.io` from 6.5.4 to 6.5.5
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/6.5.5/CHANGELOG.md)
- [Commits](socketio/engine.io@6.5.4...6.5.5)

Updates `socket.io-adapter` from 2.5.2 to 2.5.5
- [Release notes](https://github.com/socketio/socket.io-adapter/releases)
- [Changelog](https://github.com/socketio/socket.io-adapter/blob/2.5.5/CHANGELOG.md)
- [Commits](socketio/socket.io-adapter@2.5.2...2.5.5)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
- dependency-name: "@nestjs/platform-ws"
  dependency-type: indirect
- dependency-name: puppeteer
  dependency-type: direct:production
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io-adapter
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: adrian_egli <[email protected]>
* i18n: clean i18n setup translation + locale select button
* i18n: label html files and localize strings in ts files
* i18n: setup translations + fill english and german table
* disable french & italian languages
* prevent wrong locale
* i18n: clean i18n setup translation + locale select button
* i18n: setup translations + fill english and german table
* clean temp files

* fix: fix name system

* fix: lint

* fix tests

* fix miss translations

* fix main tracks translation

* fix new filter input

* fix csv dialog import

* undo import / export related translations

* refactor sbb select component

* remove platform-vs

* add translation for new email authentication
* 2.6.0 -> 2.6.1

* 2.7.0 release preparation
Use a loop instead of repeating the replace() calls.
* chore(main): release 2.6.2

* Update package.json

Manually edited version number (preparation automatic release building)

* Update package-lock.json

Manually edited version number (preparation automatic release building)

* Manually edited version number (preparation automatic release building)

* Text formatted

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adrian Egli <[email protected]>
* perlenkette-section

* sbb components

* browser color theme
dependabot bot and others added 28 commits November 11, 2024 13:28
…bahnen#344)

Bumps [cookie](https://github.com/jshttp/cookie), [socket.io](https://github.com/socketio/socket.io) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.4.2 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](jshttp/cookie@v0.4.2...v0.7.2)

Updates `socket.io` from 4.7.5 to 4.8.1
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/[email protected]@4.8.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](expressjs/express@4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…itions (SchweizerischeBundesbahnen#347)

* fix: non-stop transition is fine and user information with the help of logService

* fix: non-stop transition detection and refactoring done
…ahnen#348)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ahnen#352)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ahnen#355)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…ahnen#357)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…nen#349)

* feat: initialize with navigator language

* rename: use language instead of locale

* feat: set language as DOM property for external use

* refacto: change language without reload + external language setter

* feat: remove side menu language selector

* fix comments

* let localstorage empty if not explicitly select language

* lint

* refacto localStorage logic

Signed-off-by: Louis Greiner <[email protected]>

* add validation for localStorage getter

Signed-off-by: Louis Greiner <[email protected]>

---------

Signed-off-by: Louis Greiner <[email protected]>
…hnen#359)

* fix: warn users when having unsymmetric times

* fix: refactored - only trainrun section elements (text) with warnings will have an <svg:title>....</svg:title> tag. This improves rendering performance.

* Update src/app/view/editor-tools-view-component/editor-tools-view.component.ts

Thanks

Co-authored-by: Serge Croisé <[email protected]>

* fix: message - symmetry broken a + b = sum

* fix: rounding / (machine epsilon) issue fixed

* fix: message output text and refactored (simplified, improved readability) for trainrun section validation

* fix: epsilon issue fixed (caused by % 60 operation)

* code formatting

* fix: test added

* Update src/assets/i18n/fr.json

Co-authored-by: Serge Croisé <[email protected]>

* fix: Serge comments

---------

Co-authored-by: Serge Croisé <[email protected]>
Co-authored-by: Louis Greiner <[email protected]>
…bahnen#362)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…esbahnen#363)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…scheBundesbahnen#365)

* correct connections->transfers naming for O/D matrix

Signed-off-by: Louis Greiner <[email protected]>

* fixup! correct connections->transfers naming for O/D matrix

---------

Signed-off-by: Louis Greiner <[email protected]>
* fix: documentation for 3rd party import

* Update documentation/DATA_MODEL_JSON.md

Co-authored-by: Louis Greiner <[email protected]>

---------

Co-authored-by: Louis Greiner <[email protected]>
…bahnen#368)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Times along edges in the editor main view
- Input fields in the train run section form
- Times and input fields in the perlenkette
- Edges in the streckengrafik
- Enforce source/target section ordering
The dark theme doesn't look great when embedded inside OSRD, which
has only a light theme.
The trainrun return is still displayed there. TODO: fix that.
…filterable labels nodes/notes (#3)

Co-authored-by: Simon Ser <[email protected]>
@louisgreiner louisgreiner deleted the lgr/rebase-and-fix branch December 3, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants